package com.service.impl;

import com.mapper.MainMenuMapper;
import com.service.MainMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MainMenuServiceImpl implements MainMenuService {

    @Autowired
    private MainMenuMapper mainMenuMapper;
    @Override
    public List<MainMenuMapper> getMainMenu() {
        return mainMenuMapper.getAllMainMenu();
    }
}
